package org.jsbd.boss.domian;

import java.io.Serializable;
import java.util.Date;

import edu.hziee.common.lang.DateUtil;

/**
 * 破解单机的信息类
 * 
 * @author Administrator
 * 
 */
public class CrackDJPayCode implements Serializable {

    private static final long serialVersionUID = -1138753864417901967L;
    private int               crackId;                                 // 破解单机代码的主键
    private String            registerSms;                             // 注册代码
    private String            registerPhone;                           // 注册代码
    private String            resultSms;                               // 支付代码
    private String            resultPhone;                             // 支付代码
    private int               price;                                   // 支付金额
    private String            pid;                                     // 业务ID
    private String            gameName;                                // 游戏名称
    private String            clientIP;                                // 访问的地址
    private int               errorCode;                               // 错误编号
    private String            errorMessage;                            // 错误信息
    private String            currentDate;

    public int getCrackId() {
        return crackId;
    }
    public void setCrackId(int crackId) {
        this.crackId = crackId;
    }
    public String getRegisterSms() {
        return registerSms;
    }
    public void setRegisterSms(String registerSms) {
        this.registerSms = registerSms;
    }
    public String getResultSms() {
        return resultSms;
    }
    public void setResultSms(String resultSms) {
        this.resultSms = resultSms;
    }
    public int getPrice() {
        return price;
    }
    public void setPrice(int price) {
        this.price = price;
    }
    public String getGameName() {
        return gameName;
    }
    public void setGameName(String gameName) {
        this.gameName = gameName;
    }
    public String getClientIP() {
        return clientIP;
    }
    public void setClientIP(String clientIP) {
        this.clientIP = clientIP;
    }
    public String getPid() {
        return pid;
    }
    public void setPid(String pid) {
        this.pid = pid;
    }
    public int getErrorCode() {
        return errorCode;
    }
    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }
    public String getErrorMessage() {
        return errorMessage;
    }
    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
    public String getRegisterPhone() {
        return registerPhone;
    }
    public void setRegisterPhone(String registerPhone) {
        this.registerPhone = registerPhone;
    }
    public String getResultPhone() {
        return resultPhone;
    }
    public void setResultPhone(String resultPhone) {
        this.resultPhone = resultPhone;
    }
    public String getCurrentDate() {
        if (currentDate == null) {
            currentDate = DateUtil.formatDate(new Date(), "yyyyMMdd");
        }
        return currentDate;
    }
    public void setCurrentDate(String currentDate) {
        this.currentDate = currentDate;
    }
}
